package com.fare.taluo.base.ddd.domain.baseentity;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;

import org.apache.log4j.Logger;

@MappedSuperclass
public class BaseEntity extends com.fare.taluo.base.ddd.domain.BaseEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7502106626402364664L;
	@Transient
	protected Logger logger = Logger.getLogger(getClass());
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long id;
	
	@Override
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
}
